X-Git-Url: https://permondes.de/gitweb/Analog_Engine.git/blobdiff_plain/48debccd2fb1ede90115dd471fae71b2761e1299..5696855722ffee5fe74137923409eeaf0c6cff24:/scripts/TP1%2009.26%20rope%20over%20table%20edge.LACE diff --git a/scripts/TP1 09.26 rope over table edge.LACE b/scripts/TP1 09.26 rope over table edge.LACE new file mode 100644 index 0000000..b4695cb --- /dev/null +++ b/scripts/TP1 09.26 rope over table edge.LACE @@ -0,0 +1,16 @@ +# a rope slides frictionlessly down the edge of a table +# x'' = g/l * x + +coefficient(1): 1 -> x0' # initial speed +coefficient(2): -1 -> -x0 # initial length of rope already over the edge of the table +coefficient(3): g/l # gravity constant (g) divided by the length of the rope (l) + +iintegrate (x'') -> -x': + IC: x0' +iintegrate (-x') -> x: + IC: -x0 +x * g/l -> g/l*x = x'' + +# note: positive x-axis in the direction of the falling rope (so down) +# for visualization, -x is displayed +invert (x) -> -x # goes to output x